#ifndef POSTDATA_H
#define POSTDATA_H
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>
#include <ESP8266HTTPClient.h>
#include <WiFiClient.h>
#include <Wire.h>
#include "DHT.h"
#include "Adafruit_SGP30.h"
#include <Adafruit_Sensor.h>
#include <Adafruit_TSL2561_U.h>
#include <Ticker.h>
#include <PubSubClient.h>


extern WiFiClient client;
extern HTTPClient http;
extern String APIKEY;
extern String HOST;
extern const char* host;
extern String url;
extern const char OneNetServer[];

void HTTPClient_POST(char te[5]);
void WiFiClient_POST(char te[5]);
//void read_times(char te[5]);
void read_nd(char te[5]);
//void read_tianqi(char te[5]);
void read_t(char te[50]);
void xianshi(char te[5]);

#endif
